﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SMonsterSiegeBossInfo extends Object
    {
        public var bossId:SEntityId;
        public var bossCode:int;
        public var lifePer:int;

        public function SMonsterSiegeBossInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.bossId.__write(param1);
            param1.writeInt(this.bossCode);
            param1.writeInt(this.lifePer);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.bossId = new SEntityId();
            this.bossId.__read(param1);
            this.bossCode = param1.readInt();
            this.lifePer = param1.readInt();
            return;
        }// end function

    }
}
